package admin

import "github.com/google/uuid"

type LoginRequest struct {
	Username string `json:"username" validate:"required,min=3,max=50"`
	Password string `json:"password" validate:"required,min=6"`
}

type LoginResponse struct {
	ID        uuid.UUID `json:"id"`
	Token     string    `json:"token"`
	Username  string    `json:"username"`
	LastLogin int64     `json:"last_login"`
	IsActive  bool      `json:"is_active"`
	Role      string    `json:"role"`
	Email     string    `json:"email"`
}
